########################################################################
#
#       ORIGIN:     FUYONG .
#       GROUP:      
#       PROJECT:    USED FOR GCC Makefile
#       DATE:       April 2009.
#       PURPOSE:    Standard application makefile
#                   
#       NOTE:       config hi3716m 
#                   are organised into the linux directory structure.
#
#       $Revision: $
#       $Date: 7-Jan-2009.09:35:44 $ 
########################################################################
HI3798CV200API_DIR = $(ROOT_DIR)/plantform/Hi3798CV200
LIB_DIR += -L$(ROOT_DIR)/lib
LIB_DIR += -L$(HI3798CV200API_DIR)/lib
INCLUDES += -I$(ROOT_DIR)/include
INCLUDES += -I$(HI3798CV200API_DIR)/include
CFLAGS += -DOS_LINUX
CFLAGS += -DCHIP_TYPE_hi3798cv200 -DBOARD_TYPE_hi3798mv200stb -DSDK_VERSION="HiSTBLinuxV100R005C00SPC051"
CFLAGS += -march=armv7-a -mcpu=cortex-a53 -mfloat-abi=softfp -mfpu=vfpv3-d16
CFLAGS += -D_GNU_SOURCE -O2 -ffunction-sections -fdata-sections -Wl,--gc-sections
LIBS +=  -lpthread -lrt -lm -ldl -lstdc++	\
 				 -lbinder_ipc -lcrypto -lcutils -ldrmengine -leffect -lfreetype -lhal -lharfbuzz -lhi_cc -lhi_common \
				 -lhi_msp -lhi_so -lhi_subtitle -lhi_ttx -lhi_vp -lhigo -lhigoadp -ljpeg -llog -lOMX.hisi.video.decoder \
		  	 -lOMX.hisi.video.encoder -lOMX_Core -lpng -lpng16 -lrtp -lssl -lutils -lz -lhi_charsetMgr -lhiplayer_utils -lplayer \
				 -lsubdec -ldrm_common -ldrm -lhiloader
 